/**
 * Copyright &copy; 2015-2020 <a href="http://www.jeeplus.org/">JeePlus</a> All rights reserved.
 */
package com.jeeplus.modules.infor.entity;

import com.jeeplus.modules.infor.entity.Project;

import com.jeeplus.core.persistence.DataEntity;
import com.jeeplus.common.utils.excel.annotation.ExcelField;

/**
 * 司机Entity
 * @author 李超辉
 * @version 2017-11-23
 */
public class Driver extends DataEntity<Driver> {
	
	private static final long serialVersionUID = 1L;
	private Project project;		// 项目
	private String name;		// 司机姓名
	private String phone;		// 司机电话
	private String card;		// 身份证号
	private String license;		// 驾驶证号
	private String address;		// 详细地址
	
	public Driver() {
		super();
	}

	public Driver(String id){
		super(id);
	}

	@ExcelField(title="项目", fieldType=Project.class, value="", align=2, sort=1)
	public Project getProject() {
		return project;
	}

	public void setProject(Project project) {
		this.project = project;
	}
	
	@ExcelField(title="司机姓名", align=2, sort=2)
	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}
	
	@ExcelField(title="司机电话", align=2, sort=3)
	public String getPhone() {
		return phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}
	
	@ExcelField(title="身份证号", align=2, sort=4)
	public String getCard() {
		return card;
	}

	public void setCard(String card) {
		this.card = card;
	}
	
	@ExcelField(title="驾驶证号", align=2, sort=5)
	public String getLicense() {
		return license;
	}

	public void setLicense(String license) {
		this.license = license;
	}
	
	@ExcelField(title="详细地址", align=2, sort=6)
	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}
	
}